import 'dart:ui';

abstract class AppConfig {
  AppConfig._();

  // 是否Debug模式
  static const isDebug = true;
  // 请求地址
  static const baseUrl = 'https://vischat.dtwinx.com';
  // 是否生产环境
  static const bool isProduction = bool.fromEnvironment('dart.vm.product');
  // 支持语言
  static const List<Locale> locales = [Locale('en', 'US'), Locale('zh', 'CN')];
  // 腾讯应用id
  static const int tencent_sdkAppId = 1600073959;
  static const String tencent_key =
      '7dbbc4c04cf243f4891c2e42363006703d30d371e7175d5e9ed78de66d5c1b8d';
  // 美摄sdk配置
  static const Map<String, dynamic> NvShortConfig = {
    'host': 'https://mall.meishesdk.com/api/shortvideo/',
    'assetRequestUrl':
        'materialcenter/mall/custom/listAllAssemblyMaterial', // 素材列表请求 Material list request
    'assetCategoryUrl':
        'materialcenter/appSdkApi/listTypeAndCategory', // 素材分类列表请求 Material category list request
    'assetMusiciansUrl':
        'materialcenter/appSdkApi/listMusic', // 音乐列表请求 Music list request
    'assetFontUrl':
        'materialcenter/appSdkApi/material/listAll', // 字体列表请求 Font list request
    'assetDownloadUrl':
        'materialcenter/mall/custom/materialInteraction', // 下载地址请求 Download address request
    'assetPrefabricatedUrl':
        'materialcenter/beautyAssets/latest', // 预制素材请求 Prefabricated material request
    'assetAutoCutUrl':
        'materialcenter/recommend/listTemplate', // 一键成片网络请求 AutoCut request
    'assetTagUrl':
        'materialcenter/appSdkApi/listTemplateTag', // 模版标签列表请求 Template tag list request
    'clientId': '7480f2bf193d417ea7d93d64', // clientId
    'clientSecret': 'e4434ff769404f64b33f462331a80957', // clientSecret
    'assemblyId': 'MEISHE_MATERIAL_LIST', // assemblyId
    'isAbroad':
        0, // isAbroad 海外数据请求，0==全部，1==海外 Overseas data request, 0== all, 1== overseas
  };
  // 极光验证AppKey
  static const String JverifyAppKey = '5727c38634d0d58ea95aa3f0';
  // 两次点击返回键退出app时间间隔（秒）
  static int exitAppInterval = 2;
}
